﻿using System;
using System.Collections.Generic;
using NHibernate;
using Symbonix.NorSoNet.Security.DAL.Entities;
using Symbonix.Library.Data.NHibernate;
using System.Collections;
using NHibernate.Criterion;

using Symbonix.Library.Web.Security.DAL.Repositories;
using Symbonix.Library.Web.Security.DAL.Entities;

namespace Symbonix.NorSoNet.Security.DAL.Repositories
{
    public class ExtendedUserRepository : UserRepository
    {
        public IList<User> GetUsersById(List<int> Ids)
        {
            return GetCriteria().Add(Expression.In("UserID", Ids)).List<User>();

        }
        


    }

}